summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-14 07:13:11 +0200
committerLiam <byteslice@airmail.cc>2023-05-14 07:13:11 +0200
commit122435e0804b0817b2d86ce82a38ca87535ad798 (patch)
tree685274f8b4000c9676bf7e41b6693b81c2e2d3f3
parentMerge pull request #10244 from liamwhite/lower-upper (diff)
downloadyuzu-122435e0804b0817b2d86ce82a38ca87535ad798.tar
yuzu-122435e0804b0817b2d86ce82a38ca87535ad798.tar.gz
yuzu-122435e0804b0817b2d86ce82a38ca87535ad798.tar.bz2
yuzu-122435e0804b0817b2d86ce82a38ca87535ad798.tar.lz
yuzu-122435e0804b0817b2d86ce82a38ca87535ad798.tar.xz
yuzu-122435e0804b0817b2d86ce82a38ca87535ad798.tar.zst
yuzu-122435e0804b0817b2d86ce82a38ca87535ad798.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_memory_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp
index 1732866e0..e28a556f8 100644
--- a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp
+++ b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp
@@ -147,7 +147,7 @@ public:
/// Returns whether this allocation is compatible with the arguments.
[[nodiscard]] bool IsCompatible(VkMemoryPropertyFlags flags, u32 type_mask) const {
- return (flags & property_flags) == property_flags && (type_mask & shifted_memory_type) != 0;
+ return (flags & property_flags) == flags && (type_mask & shifted_memory_type) != 0;
}
private: